<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css选择器选元素</title>
    <script src='./jquery.js'></script>
</head>
<body>
    <div id="app">hello</div>
    <div class="nav">你好</div>
    <ul class="top">
        <li>html</li>
        <li>css</li>
        <li>js</li>
    </ul>
</body>
<script>
    //使用jquery的方式选择元素（css选择器的方式）

    // console.log($('#app'));

    // console.log($('.nav'))

    // console.log($('div'))

    // console.log($('.top li:first-child'))

    var app = document.getElementById('app');

    $(app)

</script>
</html>